Repository navigation
ci(yard-reaper): wire test_yard_reaper.py into a workflow venue + registry (#7879) - #8502
Merged
Merged
Conversation
…istry (#7879) The yard-reaper runs hourly with --apply while its 17-test deletion-safety suite ran nowhere. Add .github/workflows/yard-reaper-tests.yml (path-gated on infra/yard-reaper/**, PR + push to main + workflow_dispatch, modelled on cold-store-reaper.yml; asserts the suite file exists, then runs unittest discovery) and register the suite in .github/test-suite-registry.json as yard-reaper.python (status mapped). Wiring only: the suite passes unmodified (Ran 17 tests, OK on this branch).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires the yard-reaper's deletion-safety suite into CI (issue #7879, task 14225).
The yard-reaper runs hourly with
--applyagainst the fleet scratch yard, but its 17 tests — the only thing pinning when it must NOT delete (oracle: Drew's 2026-11-07 disposition rule, #7093) — ran nowhere: no workflow, no flake check, no registry entry..github/workflows/yard-reaper-tests.yml: new workflow, path-gated oninfra/yard-reaper/**(plus the workflow file itself), on pull_request, push to main, and workflow_dispatch. Modelled oncold-store-reaper.yml(including the CI: push-to-main verification runs share one cancellable group — 11 of the last 18 id-check main runs were cancelled by the next merge #392 concurrency pattern). The job asserts the suite file exists first, then runs it explicitly..github/test-suite-registry.json: new entryyard-reaper.pythonnaming the suite, venue, and invocation; statusmapped.Wiring only — no reaper behaviour changes, and the suite is unmodified.
Verification
python3 -m unittest discover -s infra/yard-reaper/tests→ Ran 17 tests, OK..github/workflows/yard-reaper-tests.yml/python-tests / Run the yard-reaper suite.Refs #7879 (does not close it until the venue run is observed; the completing note will say so).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.